<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Class: Spec::Story::Runner::StoryParser::StoryState</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta http-equiv="Content-Script-Type" content="text/javascript" />
  <link rel="stylesheet" href="../../../../.././rdoc-style.css" type="text/css" media="screen" />
  <script type="text/javascript">
  // <![CDATA[

  function popupCode( url ) {
    window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
  }

  function toggleCode( id ) {
    if ( document.getElementById )
      elem = document.getElementById( id );
    else if ( document.all )
      elem = eval( "document.all." + id );
    else
      return false;

    elemStyle = elem.style;
    
    if ( elemStyle.display != "block" ) {
      elemStyle.display = "block"
    } else {
      elemStyle.display = "none"
    }

    return true;
  }
  
  // Make codeblocks hidden by default
  document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
  
  // ]]>
  </script>

</head>
<body>



    <div id="classHeader">
        <table class="header-table">
        <tr class="top-aligned-row">
          <td><strong>Class</strong></td>
          <td class="class-name-in-header">Spec::Story::Runner::StoryParser::StoryState</td>
        </tr>
        <tr class="top-aligned-row">
            <td><strong>In:</strong></td>
            <td>
                <a href="../../../../../files/vendor/plugins/rspec/lib/spec/story/runner/story_parser_rb.html">
                vendor/plugins/rspec/lib/spec/story/runner/story_parser.rb
                </a>
        <br />
            </td>
        </tr>

        <tr class="top-aligned-row">
            <td><strong>Parent:</strong></td>
            <td>
                <a href="State.html">
                State
               </a>
            </td>
        </tr>
        </table>
    </div>
  <!-- banner header -->

  <div id="bodyContent">



  <div id="contextContent">



   </div>

    <div id="method-list">
      <h3 class="section-bar">Methods</h3>

      <div class="name-list">
      <a href="#M000060">eof</a>&nbsp;&nbsp;
      <a href="#M000057">event</a>&nbsp;&nbsp;
      <a href="#M000056">given</a>&nbsp;&nbsp;
      <a href="#M000053">one_more_of_the_same</a>&nbsp;&nbsp;
      <a href="#M000059">other</a>&nbsp;&nbsp;
      <a href="#M000058">outcome</a>&nbsp;&nbsp;
      <a href="#M000055">scenario</a>&nbsp;&nbsp;
      <a href="#M000054">story</a>&nbsp;&nbsp;
      </div>
    </div>

  </div>


    <!-- if includes -->

    <div id="section">





      


    <!-- if method_list -->
    <div id="methods">
      <h3 class="section-bar">Public Instance methods</h3>

      <div id="method-M000060" class="method-detail">
        <a name="M000060"></a>

        <div class="method-heading">
          <a href="#M000060" class="method-signature">
          <span class="method-name">eof</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000060-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000060-source">
<pre>
     <span class="ruby-comment cmt"># File vendor/plugins/rspec/lib/spec/story/runner/story_parser.rb, line 187</span>
187:           <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">eof</span>
188:             <span class="ruby-ivar">@parser</span>.<span class="ruby-identifier">create_story</span>
189:           <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000057" class="method-detail">
        <a name="M000057"></a>

        <div class="method-heading">
          <a href="#M000057" class="method-signature">
          <span class="method-name">event</span><span class="method-args">(line)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000057-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000057-source">
<pre>
     <span class="ruby-comment cmt"># File vendor/plugins/rspec/lib/spec/story/runner/story_parser.rb, line 175</span>
175:           <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">event</span>(<span class="ruby-identifier">line</span>)
176:             <span class="ruby-identifier">other</span>(<span class="ruby-identifier">line</span>)
177:           <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000056" class="method-detail">
        <a name="M000056"></a>

        <div class="method-heading">
          <a href="#M000056" class="method-signature">
          <span class="method-name">given</span><span class="method-args">(line)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000056-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000056-source">
<pre>
     <span class="ruby-comment cmt"># File vendor/plugins/rspec/lib/spec/story/runner/story_parser.rb, line 171</span>
171:           <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">given</span>(<span class="ruby-identifier">line</span>)
172:             <span class="ruby-identifier">other</span>(<span class="ruby-identifier">line</span>)
173:           <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000053" class="method-detail">
        <a name="M000053"></a>

        <div class="method-heading">
          <a href="#M000053" class="method-signature">
          <span class="method-name">one_more_of_the_same</span><span class="method-args">(line)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000053-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000053-source">
<pre>
     <span class="ruby-comment cmt"># File vendor/plugins/rspec/lib/spec/story/runner/story_parser.rb, line 156</span>
156:           <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">one_more_of_the_same</span>(<span class="ruby-identifier">line</span>)
157:             <span class="ruby-identifier">other</span>(<span class="ruby-identifier">line</span>)
158:           <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000059" class="method-detail">
        <a name="M000059"></a>

        <div class="method-heading">
          <a href="#M000059" class="method-signature">
          <span class="method-name">other</span><span class="method-args">(line)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000059-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000059-source">
<pre>
     <span class="ruby-comment cmt"># File vendor/plugins/rspec/lib/spec/story/runner/story_parser.rb, line 183</span>
183:           <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">other</span>(<span class="ruby-identifier">line</span>)
184:             <span class="ruby-ivar">@parser</span>.<span class="ruby-identifier">add_story_line</span>(<span class="ruby-identifier">line</span>)
185:           <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000058" class="method-detail">
        <a name="M000058"></a>

        <div class="method-heading">
          <a href="#M000058" class="method-signature">
          <span class="method-name">outcome</span><span class="method-args">(line)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000058-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000058-source">
<pre>
     <span class="ruby-comment cmt"># File vendor/plugins/rspec/lib/spec/story/runner/story_parser.rb, line 179</span>
179:           <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">outcome</span>(<span class="ruby-identifier">line</span>)
180:             <span class="ruby-identifier">other</span>(<span class="ruby-identifier">line</span>)
181:           <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000055" class="method-detail">
        <a name="M000055"></a>

        <div class="method-heading">
          <a href="#M000055" class="method-signature">
          <span class="method-name">scenario</span><span class="method-args">(line)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000055-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000055-source">
<pre>
     <span class="ruby-comment cmt"># File vendor/plugins/rspec/lib/spec/story/runner/story_parser.rb, line 165</span>
165:           <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">scenario</span>(<span class="ruby-identifier">line</span>)
166:             <span class="ruby-ivar">@parser</span>.<span class="ruby-identifier">create_story</span>
167:             <span class="ruby-ivar">@parser</span>.<span class="ruby-identifier">create_scenario</span>(<span class="ruby-identifier">line</span>)
168:             <span class="ruby-ivar">@parser</span>.<span class="ruby-identifier">transition_to</span>(<span class="ruby-identifier">:scenario_state</span>)
169:           <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000054" class="method-detail">
        <a name="M000054"></a>

        <div class="method-heading">
          <a href="#M000054" class="method-signature">
          <span class="method-name">story</span><span class="method-args">(line)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000054-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000054-source">
<pre>
     <span class="ruby-comment cmt"># File vendor/plugins/rspec/lib/spec/story/runner/story_parser.rb, line 160</span>
160:           <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">story</span>(<span class="ruby-identifier">line</span>)
161:             <span class="ruby-ivar">@parser</span>.<span class="ruby-identifier">create_story</span>
162:             <span class="ruby-ivar">@parser</span>.<span class="ruby-identifier">add_story_line</span>(<span class="ruby-identifier">line</span>)
163:           <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>


    </div>


  </div>


<div id="validator-badges">
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
</div>

</body>
</html>